﻿using UnityEngine;
using System.Collections;

/// <summary>
/// 游戏玩家
/// </summary>
public class GamePlayer {

    GamePlayerInfo _info;
    public GamePlayerInfo info { get { return _info; }
        set { _info = value; UpdateBasic(); }
    }

    UIGame_Player _ui;
    public UIGame_Player ui { get { return _ui; } set { _ui = value; } }

    public GamePlayer()
    {

    }

    public void UpdateBasic()
    {
        _ui.UpdateBasicInfo(_info);
    }
}
